//
//  RCDSearchHeaderView.h
//  jsy
//
//  Created by  任辰东 on 2020/11/12.
//  Copyright © 2020 JSY. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void (^textFieldCallBack) (NSString *text);
typedef void (^textFieldReturnCallBack) (NSString *text);
typedef void (^searchBtnCallBack) (NSString *text);

@interface RCDSearchHeaderView : UIView

@property (nonatomic, copy) textFieldCallBack textFieldCallBack;
@property (nonatomic, copy) textFieldReturnCallBack textFieldReturnCallBack;
@property (nonatomic, copy) searchBtnCallBack searchBtnCallBack;
- (instancetype)initWithFrame:(CGRect)frame;

- (void)setFirstResponder;
- (void)removeFirstResponder;

@end

NS_ASSUME_NONNULL_END
